str = input().strip()
res = []
for s in str:
    if s not in res:
        res.append(s)
result = sorted(res)
print("".join(result))